﻿<%@ Page Title="Statistics" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" 
CodeFile="Statistics.aspx.cs" Inherits="Stats_Statistics" ValidateRequest="false"%>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    <asp:DropDownList ID="Keywords" runat="server" DataSourceID="KeywordsEDS" 
        DataTextField="Keyword" AutoPostBack="True" 
        ondatabound="Keywords_DataBound">
    </asp:DropDownList>
    <br/>
    <asp:Panel ID="Statistics" EnableViewState="false" runat="server">
        <h2>Stats</h2>
        <asp:Label ID="TotalLabel" runat="server" Text="Total: " /><br/>
        <asp:Label ID="TodayLabel" runat="server" Text="Today: " /><br/>
        <asp:Label ID="LastWeekLabel" runat="server" Text="Last week: " /><br/>
        <asp:Label ID="ThisMonthLabel" runat="server" Text="This month: " />
    </asp:Panel>
    <asp:EntityDataSource ID="KeywordsEDS" runat="server" 
        ConnectionString="name=TwitterEntities" DefaultContainerName="TwitterEntities" 
        EnableFlattening="False" EntitySetName="Keywords">
    </asp:EntityDataSource>
</asp:Content>

